package com.ebc.eservice.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 公司部门表
 * </p>
 *
 * @author joey
 * @since 2022-09-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EbcCompanySector对象", description="公司部门表")
public class EbcCompanySector implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "部门id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "子级")
    private Integer pid;

    @ApiModelProperty(value = "部门名称")
    private String sectorName;

    @ApiModelProperty(value = "公司id")
    private Integer companyId;

//    @ApiModelProperty(value = "部门简介")
//    private String sectorDescription;


}
